package com.kh.statistics.video.exception;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @BelongsProject: statistics
 * @BelongsPackage: com.kh.statistics.video.exception
 * @Author: Hong.Kong
 * @CreateTime: 2024-05-11  14:19
 * @Description: TODO
 * @Version: 1.0
 */
@AllArgsConstructor
@NoArgsConstructor
public enum ResponseStatusEnum {
    BAD_REQUEST(1000, "请求错误"), SYSTEM_ERROR(500, "系统错误"), NOT_EXIST(1001, "不存在资源"), SUCCESS(200, "success");
    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
